OIPA Login Behavior
-
/login/initializeLogin checks application.isSSOEnabled.
-
If SSO is enabled, the endpoint returns an SSO authorization URL instead of the normal login model.
-
The authorization URL includes response_type=code, client_id, scope=openid, redirect_uri, and the signed state.
-
/login/callback exchanges the authorization code for tokens.
-
The implementation validates the access token by using the provider JWKS.
-
The implementation maps claims to OIPA names such as clientNumber, firstName, lastName, and email.
-
If the user does not exist in OIPA, OIPA creates the user and assigns the default security group.
-
The implementation stores refresh tokens in ASOIDCUSERSESSIONS for logout and session extension.
Logout and Session Behavior
-
Logout looks up the stored refresh token and calls the provider end_session_endpoint.
-
Keep-alive and session extension call the token endpoint with grant_type=refresh_token.